package com.gxy.learn.design.model.behaviour.visitor;

/**
 * @description: 抽象访问者角色
 * @author: gaoxueyong
 * @Date: 2022/11/8 22:12
 */
public interface Person {
    /**
     * 喂食狗
     * @Author gaoxueyong
     * @Date 10:14 下午 2022/11/8
     * @Param [dog]
     * @return void
     **/
    void feed(Dog dog);
    /**
     * 喂食猫
     * @Author gaoxueyong
     * @Date 10:15 下午 2022/11/8
     * @Param [cat]
     * @return void
     **/
    void feed(Cat cat);
}
